<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>


<style>
    p.ex1 {
        border: 2px solid green;
        outline-style: solid;
        outline-color: honeydew;
    }

    p.ex2 {
        border: 2px solid black;
        outline-style: dotted;
        outline-color: burlywood;
    }

    p.ex3 {
        border: 2px solid pink;
        outline-style: dotted;
        outline-color: purple;
    }
</style>

<h1>outline-color 属性</h1>
<p>outline-color 属性用于设置轮廓的颜色。</p>
<p class="ex1">红色的实线轮廓。</p>
<p class="ex2">蓝色的点状轮廓。</p>
<p class="ex3">灰色的实线轮廓。</p>
</body>

</html>